﻿using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace Refract.Tests
{
    [TestClass]
    public class EventArgsFixture
    {
        [TestMethod]
        public void EventArgs_data_is_set_properly()
        {
            const string TestString = "testString";
            EventArgs<string> eventArgs = new EventArgs<string>(TestString);
            Assert.AreEqual(TestString, eventArgs.Data, "Data not set to test string.");
        }
    }
}